package hcn.protocol;


import hcn.util.validation.ValidationAnnotaion;
import lombok.Data;

@Data
public class BaseFactoryRequestBean {

    private int pageNo=1;
    private int pageSize=10;
    private Integer id;
    @ValidationAnnotaion.NotNull(errorDescription = "产地简称 can not be null")
    private String shortName;
    private String pinyinCode;
    @ValidationAnnotaion.NotNull(errorDescription = "产地全称 can not be null")
    private String factoryName;
    @ValidationAnnotaion.NotNull(errorDescription = "状态 can not be null")
    private String status;
    @ValidationAnnotaion.NotNull(errorDescription = "产地编码 can not be null")
    private String factoryCode;
}
